package com.chushouya.order.dto.admin.orderclothesproduct;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("订单旧衣商品新增")
public class OrderClothesProductSaveDTO {

    @ApiModelProperty(value = "订单ID", required = true)
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @ApiModelProperty("地区编码")
    private String districtCode;

    @ApiModelProperty("地区名称")
    private String district;

    @ApiModelProperty(value = "商品名称", required = true)
    @NotBlank(message = "商品名称不能为空")
    private String productName;

    @ApiModelProperty("商品图片")
    private String productImage;

    @ApiModelProperty("价格")
    private BigDecimal productPrice;

    @ApiModelProperty("重量范围")
    private String weightRange;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("操作人")
    private String handleUser;
}
